From: Alexander Mikhaylenko Date: Wed, 5 Feb 2020 19:59:38 +0000 (+0500) Subject: appDisplay: Disable swipe tracker during swarm animation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~20 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dfb8737007b459b59ba5739c0f03f46f0efd45e9;p=gnome-shell.git appDisplay: Disable swipe tracker during swarm animation Eensures it resets when an animation starts. https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 1346b93fe..115285f32 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -530,8 +530,10 @@ var AllView = GObject.registerClass({ // Overridden from BaseAppView animate(animationDirection, onComplete) { this._scrollView.reactive = false; + this._swipeTracker.enabled = false; let completionFunc = () => { this._scrollView.reactive = true; + this._swipeTracker.enabled = this.mapped; if (onComplete) onComplete(); };